#include "AT89x52.h"
void function3()
{
void delay();
unsigned char choose[18]={0X3F,0X06,0X5B,0X4F,0X66,0X6D,0X7D,0X07,0X7F,0X6F,0X77,0X7C,0X39,0X5E,0X79,0X71,0X80,0X00};
int i;
P1=0x7f;
for(i=0;i<18;i++)
{
P0=choose[i];
delay();
}
}
void delay()
{
unsigned int j;
for(j=60000;j>0;j--)
{
}
}